//
//  YSGMyopiaHospitalListCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2021/1/6.
//  Copyright © 2021 QDSG. All rights reserved.
//

import UIKit

class YSGMyopiaHospitalListCell: UITableViewCell {
    
    @IBOutlet weak var hospitalNameLabel: UILabel!
    @IBOutlet weak var hospitalAddrLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateCellWithModel(model: MyopiaHospitalModel) {
        hospitalNameLabel.text = model.hosName
        hospitalAddrLabel.text = model.hosAddr
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
